#/bin/sh
modules=(spring-cloud-learn-common spring-cloud-learn-entity spring-cloud-learn-repository spring-cloud-learn-service  spring-cloud-learn-api-order spring-cloud-learn-api-user)
package='com/gzs/learn/springcloud'
for module in ${modules[@]}
do
	if [ !  -d  ./$module/src/main/java ];then
		mkdir -p ./$module/src/main/java/$package
	fi

	if [ !  -d  ./$module/src/main/resources ];then
		mkdir -p ./$module/src/main/resources
	fi

	if [ !  -d  ./$module/src/test/java ];then
		mkdir -p ./$module/src/test/java/$package
	fi
	
	if [ !  -d  ./$module/src/test/resources ];then
		mkdir -p ./$module/src/test/resources
	fi
done
